package cn.iocoder.yudao.module.member.controller.app.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "用户 App - 会员用户更新 Request VO")
@Data
public class AppMemberUserUpdateReqVO {

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    private String nickname;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/x.png")
    @URL(message = "头像必须是 URL 格式")
    private String avatar;

    @Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer sex;
    @Schema(description = "用户手机号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15601691300")
    private String mobile;
    @Schema(description = "邮箱", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15601691300")
    private String email;
    @Schema(description = "密码", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15601691300")
    private String password;
    /**
     * 余额
     *
     */
    private BigDecimal totalPoint;


    /**
     * 设备余额
     *
     */
    private Integer totalDevice;

    private List<AppMemberUserPriceUpdateReqVO> prices;

}
